{{extend './_layouts/home.html'}}

{{block 'title'}}{{'多人博客 - 首页'}}{{/block}}

{{block 'body'}}
<section class="container">
  <ul class="media-list">
   {{each data}}
    <li class="media">
      <div class="media-left">
        <a href="#">
            <img width="40" height="40" class="media-object" src="{{$value.avatar}}" alt="...">
          </a>
      </div>
      <div class="media-body">
        <h4 class="media-heading"><a href="{{$value.type}}?id={{$value._id}}">{{$value.title}}</a></h4>
        <p>  {{$value.comments.length}} 个回复 • {{$value.browse}} 次浏览 • {{$value.time}}</p>
      </div>
    </li>
    {{/each}}
  </ul>
  
</section>

{{/block}}
